package com.eascs.ticket.ticket.form;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.validator.constraints.NotEmpty;

public class UpdateTicketForm {

	@Id
	private String id;

	@Column(name = "bug_dev_user_code")
	private String bugDevUserCode;

	@Column(name = "bug_dev_user_name")
	private String bugDevUserName;

	@Column(name = "bug_found_env")
	private String bugFoundEnv;

	@Column(name = "bug_validated_user_code")
	private String bugValidatedUserCode;

	@Column(name = "bug_validated_user_name")
	private String bugValidatedUserName;

	@NotEmpty(message = "描述不能为空")
	private String descriptions;

	@Column(name = "module_id")
	private String moduleId;

	private String priority;

	private String reporter;

	@Column(name = "reporter_name")
	private String reporterName;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "requirement_reviewed_time")
	private Date requirementReviewedTime;

	private String title;

	private String parentTicketId;

	@Column(name = "total_time")
	public Double totalTime;

	@Column(name = "start_time")
	public java.util.Date startTime;

	@Column(name = "end_time")
	public java.util.Date endTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBugDevUserCode() {
		return bugDevUserCode;
	}

	public void setBugDevUserCode(String bugDevUserCode) {
		this.bugDevUserCode = bugDevUserCode;
	}

	public String getBugDevUserName() {
		return bugDevUserName;
	}

	public void setBugDevUserName(String bugDevUserName) {
		this.bugDevUserName = bugDevUserName;
	}

	public String getBugFoundEnv() {
		return bugFoundEnv;
	}

	public void setBugFoundEnv(String bugFoundEnv) {
		this.bugFoundEnv = bugFoundEnv;
	}

	public String getBugValidatedUserCode() {
		return bugValidatedUserCode;
	}

	public void setBugValidatedUserCode(String bugValidatedUserCode) {
		this.bugValidatedUserCode = bugValidatedUserCode;
	}

	public String getBugValidatedUserName() {
		return bugValidatedUserName;
	}

	public void setBugValidatedUserName(String bugValidatedUserName) {
		this.bugValidatedUserName = bugValidatedUserName;
	}

	public String getDescriptions() {
		return descriptions;
	}

	public void setDescriptions(String descriptions) {
		this.descriptions = descriptions;
	}

	public String getModuleId() {
		return moduleId;
	}

	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
	}

	public String getPriority() {
		return priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public String getReporter() {
		return reporter;
	}

	public void setReporter(String reporter) {
		this.reporter = reporter;
	}

	public String getReporterName() {
		return reporterName;
	}

	public void setReporterName(String reporterName) {
		this.reporterName = reporterName;
	}

	public Date getRequirementReviewedTime() {
		return requirementReviewedTime;
	}

	public void setRequirementReviewedTime(Date requirementReviewedTime) {
		this.requirementReviewedTime = requirementReviewedTime;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getParentTicketId() {
		return parentTicketId;
	}

	public void setParentTicketId(String parentTicketId) {
		this.parentTicketId = parentTicketId;
	}

	public Double getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(Double totalTime) {
		this.totalTime = totalTime;
	}

	public java.util.Date getStartTime() {
		return startTime;
	}

	public void setStartTime(java.util.Date startTime) {
		this.startTime = startTime;
	}

	public java.util.Date getEndTime() {
		return endTime;
	}

	public void setEndTime(java.util.Date endTime) {
		this.endTime = endTime;
	}

}
